
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Linux各种安装下载慢解决方法 · 日常学习笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-advanced-emoji/emoji-website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="APT-剖析详解.html" />
    
    
    <link rel="prev" href="Linux性能相关常用命令.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../网络学习资源整理/">
            
                <a href="../网络学习资源整理/">
            
                    
                    网络学习资源整理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../网络学习资源整理/技术学习.html">
            
                <a href="../网络学习资源整理/技术学习.html">
            
                    
                    技术学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../网络学习资源整理/运维博客.html">
            
                <a href="../网络学习资源整理/运维博客.html">
            
                    
                    运维博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../网络学习资源整理/工具.html">
            
                <a href="../网络学习资源整理/工具.html">
            
                    
                    工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../网络学习资源整理/静态博客模板.html">
            
                <a href="../网络学习资源整理/静态博客模板.html">
            
                    
                    静态博客模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../网络学习资源整理/静态网站pages服务.html">
            
                <a href="../网络学习资源整理/静态网站pages服务.html">
            
                    
                    静态网站pages服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../网络学习资源整理/静态pages的CI和CD.html">
            
                <a href="../网络学习资源整理/静态pages的CI和CD.html">
            
                    
                    静态pages的CI和CD
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../网络学习资源整理/Hugo学习.html">
            
                <a href="../网络学习资源整理/Hugo学习.html">
            
                    
                    Hugo学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../心灵鸡汤/">
            
                <a href="../心灵鸡汤/">
            
                    
                    心灵鸡汤
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../心灵鸡汤/心灵鸡汤.html">
            
                <a href="../心灵鸡汤/心灵鸡汤.html">
            
                    
                    语录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="./">
            
                <a href="./">
            
                    
                    Linux
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="Linux常用命令.html">
            
                <a href="Linux常用命令.html">
            
                    
                    Linux常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="Linux小知识.html">
            
                <a href="Linux小知识.html">
            
                    
                    平时 linux 遇到的问题解决办法和扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="Linux性能相关常用命令.html">
            
                <a href="Linux性能相关常用命令.html">
            
                    
                    Linux性能相关常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.4" data-path="Linux各种安装下载慢解决方法.html">
            
                <a href="Linux各种安装下载慢解决方法.html">
            
                    
                    Linux各种安装下载慢解决方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="APT-剖析详解.html">
            
                <a href="APT-剖析详解.html">
            
                    
                    APT 原理剖析、详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="Linux主机、虚拟机和docker网络配置.html">
            
                <a href="Linux主机、虚拟机和docker网络配置.html">
            
                    
                    Linux 主机、虚拟机和docker网络配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="Linux文件系统学习.html">
            
                <a href="Linux文件系统学习.html">
            
                    
                    Linux文件系统学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="Linux用户和用户组管理.html">
            
                <a href="Linux用户和用户组管理.html">
            
                    
                    Linux用户和用户组管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="Linux用户增删改等学习.html">
            
                <a href="Linux用户增删改等学习.html">
            
                    
                    Linux用户增删改等学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="Linux程序存放目录.html">
            
                <a href="Linux程序存放目录.html">
            
                    
                    Linux程序存放目录.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="Linux编译安装软件包详解.html">
            
                <a href="Linux编译安装软件包详解.html">
            
                    
                    Linux C/C++ 软件包编译、安装原理详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="SSH详解.html">
            
                <a href="SSH详解.html">
            
                    
                    SSH 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="Tomcat和Ngnix和Apache.html">
            
                <a href="Tomcat和Ngnix和Apache.html">
            
                    
                    Tomcat和Ngnix和Apache.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="UbuntuSoftwareInstall.html">
            
                <a href="UbuntuSoftwareInstall.html">
            
                    
                    Ubuntu 软件包安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="YAML-配置文件语言.html">
            
                <a href="YAML-配置文件语言.html">
            
                    
                    YAML 配置文件语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="bin目录详解.html">
            
                <a href="bin目录详解.html">
            
                    
                    bin目录详解.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="ffmpeg详解.html">
            
                <a href="ffmpeg详解.html">
            
                    
                    ffmpeg学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="trans命令.html">
            
                <a href="trans命令.html">
            
                    
                    trans命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.19" data-path="yum和rpm.html">
            
                <a href="yum和rpm.html">
            
                    
                    Yum 和 RPM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.20" data-path="从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                <a href="从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                    
                    Linux环境变量详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.21" data-path="新创建主机常用初始化配置.html">
            
                <a href="新创建主机常用初始化配置.html">
            
                    
                    新建主机常用初始化配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.22" data-path="正则表达式学习.html">
            
                <a href="正则表达式学习.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.23" data-path="通过Linux开机启动项展开学习.html">
            
                <a href="通过Linux开机启动项展开学习.html">
            
                    
                    Linux开机启动项学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.24" data-path="防火墙学习.html">
            
                <a href="防火墙学习.html">
            
                    
                    防火墙学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../Python/">
            
                <a href="../Python/">
            
                    
                    Python
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../Python/BeautifulSoup.md">
            
                <span>
            
                    
                    Python3 BeautifulSoup 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../Python/Django.html">
            
                <a href="../Python/Django.html">
            
                    
                    Python Django 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../Python/IPython使用技巧.html">
            
                <a href="../Python/IPython使用技巧.html">
            
                    
                    IPython 使用技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../Python/Numpy.html">
            
                <a href="../Python/Numpy.html">
            
                    
                    Python Numpy 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../Python/Python小知识.html">
            
                <a href="../Python/Python小知识.html">
            
                    
                    Python 学习遇到的问题解决或扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../Python/Python模块管理总结.html">
            
                <a href="../Python/Python模块管理总结.html">
            
                    
                    Python 模块管理总结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../Python/flask学习.md">
            
                <span>
            
                    
                    Flask 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../Python/matplotlib.html">
            
                <a href="../Python/matplotlib.html">
            
                    
                    matplotlib.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../Python/re正则表达式.html">
            
                <a href="../Python/re正则表达式.html">
            
                    
                    re正则表达式.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="../Python/图形界面学习.html">
            
                <a href="../Python/图形界面学习.html">
            
                    
                    图形界面学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="../Python/常用图像库学习.html">
            
                <a href="../Python/常用图像库学习.html">
            
                    
                    Python3 常用图像库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="../Python/进阶学习.html">
            
                <a href="../Python/进阶学习.html">
            
                    
                    Python3 进阶学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../Shell/">
            
                <a href="../Shell/">
            
                    
                    Shell
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../Shell/shell小知识.html">
            
                <a href="../Shell/shell小知识.html">
            
                    
                    Shell小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../Shell/Shell奇淫技巧.html">
            
                <a href="../Shell/Shell奇淫技巧.html">
            
                    
                    Shell奇淫技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                <a href="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                    
                    grep、sed、awk 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../Shell/Shell文本处理常用工具补遗.html">
            
                <a href="../Shell/Shell文本处理常用工具补遗.html">
            
                    
                    Shell文本处理常用工具补遗
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../Shell/句子解析.html">
            
                <a href="../Shell/句子解析.html">
            
                    
                    句子解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../Shell/识别是否是root用户.html">
            
                <a href="../Shell/识别是否是root用户.html">
            
                    
                    识别是否是root用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../Shell/识别系统.html">
            
                <a href="../Shell/识别系统.html">
            
                    
                    识别系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../Vim/">
            
                <a href="../Vim/">
            
                    
                    Vim
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../Vim/Vim小知识.html">
            
                <a href="../Vim/Vim小知识.html">
            
                    
                    Vim小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../Vim/Vim编辑器再学习.html">
            
                <a href="../Vim/Vim编辑器再学习.html">
            
                    
                    Vim编辑器再学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../Vim/VimScript学习笔记.html">
            
                <a href="../Vim/VimScript学习笔记.html">
            
                    
                    VimScript 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../Vim/YouCompleteMe安装.html">
            
                <a href="../Vim/YouCompleteMe安装.html">
            
                    
                    YouCompleteMe安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../Vim/vimrc示例1.html">
            
                <a href="../Vim/vimrc示例1.html">
            
                    
                    vimrc示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../Vim/vimrc备份.html">
            
                <a href="../Vim/vimrc备份.html">
            
                    
                    vimrc备份
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="../Vim/Tmux快捷键.html">
            
                <a href="../Vim/Tmux快捷键.html">
            
                    
                    Tmux快捷键
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../Ansible/">
            
                <a href="../Ansible/">
            
                    
                    Ansible
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../Ansible/术语表.html">
            
                <a href="../Ansible/术语表.html">
            
                    
                    术语表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../Ansible/Ansible必知单词.html">
            
                <a href="../Ansible/Ansible必知单词.html">
            
                    
                    Ansible 常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../Ansible/Ansible学习.html">
            
                <a href="../Ansible/Ansible学习.html">
            
                    
                    Ansible 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../Ansible/Ansible常用模板.html">
            
                <a href="../Ansible/Ansible常用模板.html">
            
                    
                    Ansible常用模板.md
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../Docker/">
            
                <a href="../Docker/">
            
                    
                    Docker
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../Docker/Docker基础学习.html">
            
                <a href="../Docker/Docker基础学习.html">
            
                    
                    Docker 基础学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../Docker/Docker小知识.html">
            
                <a href="../Docker/Docker小知识.html">
            
                    
                    Docker 小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../Docker/Docker必知单词.html">
            
                <a href="../Docker/Docker必知单词.html">
            
                    
                    Docker 学习中的单词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../Git/">
            
                <a href="../Git/">
            
                    
                    Git
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../Git/git学习.html">
            
                <a href="../Git/git学习.html">
            
                    
                    Git 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../Git/git小技巧.html">
            
                <a href="../Git/git小技巧.html">
            
                    
                    Git 小技巧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../Zabbix/">
            
                <a href="../Zabbix/">
            
                    
                    Zabbix
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../Zabbix/Docker安装配置Zabbix.html">
            
                <a href="../Zabbix/Docker安装配置Zabbix.html">
            
                    
                    Docker 安装配置 Zabbix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="../Zabbix/术语单词.html">
            
                <a href="../Zabbix/术语单词.html">
            
                    
                    Zabbix 中常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="../Zabbix/重置密码.html">
            
                <a href="../Zabbix/重置密码.html">
            
                    
                    重置 Zabbix 账户密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../KVM/">
            
                <a href="../KVM/">
            
                    
                    KVM
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../KVM/安装配置.html">
            
                <a href="../KVM/安装配置.html">
            
                    
                    常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="../KVM/虚拟机网络配置.html">
            
                <a href="../KVM/虚拟机网络配置.html">
            
                    
                    Bridged 桥接模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../Mysql/">
            
                <a href="../Mysql/">
            
                    
                    Mysql
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../Mysql/Ubuntu安装Navicat.html">
            
                <a href="../Mysql/Ubuntu安装Navicat.html">
            
                    
                    Ubuntu 安装及配置 Navicat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="../Mysql/忘记root密码.html">
            
                <a href="../Mysql/忘记root密码.html">
            
                    
                    如何替换已忘记的 root 密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../Nginx/">
            
                <a href="../Nginx/">
            
                    
                    Nginx
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../Nginx/Nginx学习笔记.html">
            
                <a href="../Nginx/Nginx学习笔记.html">
            
                    
                    Nginx 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../NoClass/">
            
                <a href="../NoClass/">
            
                    
                    闲知
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../NoClass/容易读错的IT术语.html">
            
                <a href="../NoClass/容易读错的IT术语.html">
            
                    
                    容易读错的IT术语
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="../NoClass/Linux-electron-tutorial.html">
            
                <a href="../NoClass/Linux-electron-tutorial.html">
            
                    
                    Linux electron 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="../NoClass/MarkdownSkills.html">
            
                <a href="../NoClass/MarkdownSkills.html">
            
                    
                    记录 Markdown 的各种小技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="../NoClass/RaspeberryPi.html">
            
                <a href="../NoClass/RaspeberryPi.html">
            
                    
                    使用树莓派 3B 遇到的问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="../NoClass/华为国产手机芯片SoC.html">
            
                <a href="../NoClass/华为国产手机芯片SoC.html">
            
                    
                    华为国产手机芯片SoC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="../NoClass/图片格式详解及其对比.html">
            
                <a href="../NoClass/图片格式详解及其对比.html">
            
                    
                    图片格式详解及其对比
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.7" data-path="../NoClass/计算机小知识.html">
            
                <a href="../NoClass/计算机小知识.html">
            
                    
                    记录一些计算机的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.8" data-path="../NoClass/诗词.html">
            
                <a href="../NoClass/诗词.html">
            
                    
                    诗词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../OS/">
            
                <a href="../OS/">
            
                    
                    OS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="../OS/学习笔记.html">
            
                <a href="../OS/学习笔记.html">
            
                    
                    操作系统学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.2" data-path="../OS/术语单词.html">
            
                <a href="../OS/术语单词.html">
            
                    
                    OS 专业词语解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.3" data-path="../OS/SoCCPU.html">
            
                <a href="../OS/SoCCPU.html">
            
                    
                    SoC 与 CPU
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../Tomcat/">
            
                <a href="../Tomcat/">
            
                    
                    Tomcat
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../Tomcat/Tomcat 学习.html">
            
                <a href="../Tomcat/Tomcat 学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../Tomcat/Tomcat学习.html">
            
                <a href="../Tomcat/Tomcat学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="../VPS/">
            
                <a href="../VPS/">
            
                    
                    VPS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="../VPS/AWS_lightsail.html">
            
                <a href="../VPS/AWS_lightsail.html">
            
                    
                    AWS LightSail
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.2" data-path="../VPS/GCP_VM实例创建和基本配置.html">
            
                <a href="../VPS/GCP_VM实例创建和基本配置.html">
            
                    
                    GCP VM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.3" data-path="../VPS/ECS和VPS等等.html">
            
                <a href="../VPS/ECS和VPS等等.html">
            
                    
                    ECS和VPS
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="../ComputerComposition/">
            
                <a href="../ComputerComposition/">
            
                    
                    ComputerComposition
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="../ComputerComposition/学习笔记.html">
            
                <a href="../ComputerComposition/学习笔记.html">
            
                    
                    计算机组成原理学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="../ComputerNetwork/">
            
                <a href="../ComputerNetwork/">
            
                    
                    ComputerNetwork
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.1" data-path="../ComputerNetwork/ProWords.html">
            
                <a href="../ComputerNetwork/ProWords.html">
            
                    
                    术语单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.2" data-path="../ComputerNetwork/学习笔记.html">
            
                <a href="../ComputerNetwork/学习笔记.html">
            
                    
                    计算机网络学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3" data-path="../ComputerNetwork/小知识.html">
            
                <a href="../ComputerNetwork/小知识.html">
            
                    
                    学习计算机网络中的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.4" data-path="../NoClass/浏览器架构简析.md">
            
                <span>
            
                    
                    浏览器架构简析
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="../毕业论文/">
            
                <a href="../毕业论文/">
            
                    
                    毕业论文
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.21.1" data-path="../毕业论文/开题报告.html">
            
                <a href="../毕业论文/开题报告.html">
            
                    
                    开题报告
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Linux各种安装下载慢解决方法</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="linux-&#x5404;&#x79CD;&#x5B89;&#x88C5;&#x4E0B;&#x8F7D;&#x6162;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;"><a name="linux-&#x5404;&#x79CD;&#x5B89;&#x88C5;&#x4E0B;&#x8F7D;&#x6162;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;" class="plugin-anchor" href="#linux-&#x5404;&#x79CD;&#x5B89;&#x88C5;&#x4E0B;&#x8F7D;&#x6162;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a>Linux &#x5404;&#x79CD;&#x5B89;&#x88C5;&#x4E0B;&#x8F7D;&#x6162;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;</h1>
<p>&#x7531;&#x4E8E;&#x5899;&#x6216;&#x670D;&#x52A1;&#x5668;&#x5728;&#x5883;&#x5916;&#x7684;&#x539F;&#x56E0;&#xFF0C;&#x5BFC;&#x81F4;&#x57FA;&#x672C;&#x6240;&#x6709;&#x547D;&#x4EE4;&#x884C;&#x5DE5;&#x5177;&#x5B89;&#x88C5;&#x4E0B;&#x8F7D;&#x901F;&#x5EA6;&#x90FD;&#x6781;&#x6162;&#xFF0C;&#x4E00;&#x822C;&#x89E3;&#x51B3;&#x529E;&#x6CD5;&#x6709;&#x4EE5;&#x4E0B;&#x4E09;&#x79CD;&#xFF1A;</p>
<p>1&#x3001;&#x66F4;&#x6362;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;&#xFF08;&#x90E8;&#x5206;&#x5DE5;&#x5177;&#x6709;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;&#xFF09;</p>
<p>2&#x3001;&#x4F7F;&#x7528; VPN &#x4EE3;&#x7406; + &#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x5DE5;&#x5177;</p>
<p>3&#x3001;&#x79BB;&#x7EBF;&#x5305;&#x5B89;&#x88C5;</p>
<blockquote>
<ul>
<li>&#x7EC8;&#x7AEF;&#x4EE3;&#x7406; + &#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x9488;&#x5BF9;&#x6240;&#x6709;&#x8D70; http&#x3001;https &#x7684;&#x5DE5;&#x5177;&#x90FD;&#x6709;&#x6548;</li>
<li>&#x4F9D;&#x636E;&#x8FD9;&#x4E09;&#x79CD;&#x65B9;&#x5F0F;&#x4ECB;&#x7ECD; pip&#x3001;git&#x3001;npm&#x3001;brower&#x3001;gem&#x3001;apt&#x3001;yum &#x7B49;&#xFF08;&#x540E;&#x7EED;&#x6301;&#x7EED;&#x66F4;&#x65B0;&#xFF09;</li>
<li><strong><code>[registry url]</code></strong> &#x6307;&#x7684;&#x5C31;&#x662F;&#x955C;&#x50CF;&#x6E90;&#x7F51;&#x7AD9;, &#x6BD4;&#x5982; <a href="http://registry.npm.taobao.org/" target="_blank">http://registry.npm.taobao.org/</a></li>
</ul>
</blockquote>
<h2 id="&#x4E00;&#x3001;&#x66F4;&#x6362;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;"><a name="&#x4E00;&#x3001;&#x66F4;&#x6362;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;" class="plugin-anchor" href="#&#x4E00;&#x3001;&#x66F4;&#x6362;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E00;&#x3001;&#x66F4;&#x6362;&#x56FD;&#x5185;&#x955C;&#x50CF;&#x6E90;</h2>
<blockquote>
<ul>
<li>&#x6700;&#x63A8;&#x8350;&#x4F7F;&#x7528;&#x8FD9;&#x79CD;&#x65B9;&#x6CD5;</li>
</ul>
</blockquote>
<h2 id="pip"><a name="pip" class="plugin-anchor" href="#pip"><i class="fa fa-link" aria-hidden="true"></i></a>Pip</h2>
<p><strong><code>[registry url]</code></strong></p>
<blockquote>
<ul>
<li>&#x963F;&#x91CC;&#x4E91; <a href="https://mirrors.aliyun.com/pypi/simple/" target="_blank">https://mirrors.aliyun.com/pypi/simple/</a></li>
<li>&#x8C46;&#x74E3; <a href="http://pypi.douban.com/simple/" target="_blank">http://pypi.douban.com/simple/</a></li>
<li>&#x6E05;&#x534E;&#x5927;&#x5B66; <a href="https://pypi.tuna.tsinghua.edu.cn/simple/" target="_blank">https://pypi.tuna.tsinghua.edu.cn/simple/</a></li>
<li>&#x4E2D;&#x79D1;&#x5927; <a href="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" target="_blank">https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/</a></li>
<li>pypi      <a href="https://pypi.python.org/simple/" target="_blank">https://pypi.python.org/simple/</a></li>
</ul>
</blockquote>
<p><strong>&#x4E34;&#x65F6;&#x751F;&#x6548;</strong></p>
<pre><code class="lang-bash">$ pip install modules -i [registry url]
$ pip3 install modules -i [registry url]
</code></pre>
<p><strong>&#x6C38;&#x4E45;&#x751F;&#x6548;</strong> (pip &#x548C; pip3 &#x90FD;&#x4E00;&#x6837;)</p>
<pre><code class="lang-bash"><span class="hljs-comment"># &#x5148;&#x4F7F;&#x7528; updatedb &#x547D;&#x4EE4;&#x66F4;&#x65B0; locate &#x67E5;&#x627E;&#x7684;&#x6570;&#x636E;</span>
$ updatedb
<span class="hljs-comment"># &#x4F7F;&#x7528; locate &#x67E5;&#x627E; pip.conf</span>
<span class="hljs-comment"># &#x6CA1;&#x6709; pip.conf &#x5219;&#x81EA;&#x884C;&#x521B;&#x5EFA; ~/.pip/pip.conf</span>
$ locate pip.conf
/home/xcq/.pip/pip.conf
/home/xcq/.pip/pip.conf.bak
<span class="hljs-comment"># &#x5728; pip.conf &#x6DFB;&#x52A0;&#x4EE5;&#x4E0B;&#x5185;&#x5BB9;</span>
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
</code></pre>
<p><strong>&#x4F7F;&#x7528; <code>pqi</code> &#x7BA1;&#x7406;&#x955C;&#x50CF;</strong> - <a href="https://github.com/yhangf/PyQuickInstall" target="_blank">https://github.com/yhangf/PyQuickInstall</a></p>
<pre><code class="lang-bash"><span class="hljs-comment"># &#x5B89;&#x88C5;</span>
$ pip install pqi
$ pqi 
Usage:
  pqi ls
  pqi use &lt;name&gt;
  pqi show
  pqi add &lt;name&gt; &lt;url&gt;
  pqi remove &lt;name&gt;
  pqi (-h | --help)
  pqi (-v | --version)
Options:
  -h --help        Show this screen.
  -v --version     Show version.
</code></pre>
<h2 id="git"><a name="git" class="plugin-anchor" href="#git"><i class="fa fa-link" aria-hidden="true"></i></a>Git</h2>
<ul>
<li>Git &#x4E3B;&#x8981;&#x662F;&#x5728;&#x514B;&#x9686; Github &#x4ED3;&#x5E93;&#x65F6;&#x5F88;&#x6162;&#xFF0C;&#x4F46;&#x5E76;&#x4E0D;&#x80FD;&#x901A;&#x8FC7;&#x4FEE;&#x6539;&#x8F6F;&#x4EF6;&#x6E90;&#x589E;&#x901F;</li>
<li>&#x4ECB;&#x7ECD;&#x4E09;&#x79CD;&#x65B9;&#x6CD5;&#xFF1A;<ul>
<li>&#x4FEE;&#x6539; hosts &#x6587;&#x4EF6;&#xFF0C;&#x7F51;&#x4E0A;&#x5F88;&#x591A;&#x6559;&#x7A0B;</li>
<li>&#x5148;&#x4F7F;&#x7528; gitee clone &#xFF0C;&#x518D; clone gitee &#x4ED3;&#x5E93;</li>
<li>&#x4F7F;&#x7528;&#x4EE3;&#x7406; + &#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#xFF0C;&#x8FD9;&#x4E2A;&#x6700;&#x597D;&#x7528;&#xFF01;</li>
</ul>
</li>
</ul>
<h2 id="npm"><a name="npm" class="plugin-anchor" href="#npm"><i class="fa fa-link" aria-hidden="true"></i></a>NPM</h2>
<p><strong><code>[registry url]</code></strong></p>
<ul>
<li><p><strong>&#x6DD8;&#x5B9D;npm&#x955C;&#x50CF;</strong></p>
<ul>
<li>&#x641C;&#x7D22;&#x5730;&#x5740;&#xFF1A;<a href="http://npm.taobao.org/" target="_blank">http://npm.taobao.org/</a></li>
<li>registry&#x5730;&#x5740;&#xFF1A;<a href="http://registry.npm.taobao.org/" target="_blank">http://registry.npm.taobao.org/</a></li>
</ul>
</li>
<li><p><strong>cnpmjs&#x955C;&#x50CF;</strong></p>
<ul>
<li><p>&#x641C;&#x7D22;&#x5730;&#x5740;&#xFF1A;<a href="http://cnpmjs.org/" target="_blank">http://cnpmjs.org/</a></p>
</li>
<li><p>registry&#x5730;&#x5740;&#xFF1A;<a href="http://r.cnpmjs.org/" target="_blank">http://r.cnpmjs.org/</a></p>
</li>
</ul>
</li>
</ul>
<p><strong>&#x4E34;&#x65F6;&#x751F;&#x6548;</strong></p>
<pre><code class="lang-bash">$ npm install --registry [registry url]
</code></pre>
<p><strong>&#x6C38;&#x4E45;&#x751F;&#x6548;</strong></p>
<pre><code class="lang-bash"><span class="hljs-comment"># npm config &#x914D;&#x7F6E;</span>
$ npm config <span class="hljs-built_in">set</span> registry [registry url]
<span class="hljs-comment"># &#x6216;&#x4FEE;&#x6539; ~/.npmrc &#x6587;&#x4EF6;&#xFF0C;&#x6DFB;&#x52A0;&#x5982;&#x4E0B;&#x5185;&#x5BB9;</span>
registry=https://registry.npm.taobao.org

<span class="hljs-comment"># &#x9A8C;&#x8BC1;&#x662F;&#x5426;&#x6210;&#x529F;</span>
npm config get registry
<span class="hljs-comment"># &#x6216;</span>
npm info express
</code></pre>
<p><strong>&#x4F7F;&#x7528; <code>nrm</code> &#x6A21;&#x5757;&#x7BA1;&#x7406;&#x955C;&#x50CF;</strong> - <a href="https://github.com/Pana/nrm" target="_blank">https://github.com/Pana/nrm</a></p>
<pre><code class="lang-bash"><span class="hljs-comment"># &#x5B89;&#x88C5;</span>
$ npm install -g nrm
$ nrm
Usage: nrm [options] [<span class="hljs-built_in">command</span>]

Options:
  -V, --version                           output the version number
  -h, --help                              output usage information

Commands:
  ls                                      List all the registries
. . .
<span class="hljs-comment"># &#x67E5;&#x770B;&#x6709;&#x54EA;&#x4E9B;&#x955C;&#x50CF;</span>
$ nrm ls
<span class="hljs-comment"># &#x5BF9;&#x6BD4;&#x5404;&#x4E2A;&#x955C;&#x50CF;&#x7684;&#x8BBF;&#x95EE;&#x901F;&#x5EA6;</span>
$ nrm <span class="hljs-built_in">test</span> &#x955C;&#x50CF;&#x540D;
<span class="hljs-comment"># &#x4F7F;&#x7528;&#x6DD8;&#x5B9D;&#x7684;&#x955C;&#x50CF;</span>
$ nrm use taobao
</code></pre>
<h2 id="gem"><a name="gem" class="plugin-anchor" href="#gem"><i class="fa fa-link" aria-hidden="true"></i></a>gem</h2>
<p>&#x4F7F;&#x7528;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;&#x66FF;&#x6362; gems &#x9ED8;&#x8BA4;&#x6E90;</p>
<pre><code class="lang-bash"><span class="hljs-comment"># &#x6DFB;&#x52A0; TUNA &#x6E90;&#x5E76;&#x79FB;&#x9664;&#x9ED8;&#x8BA4;&#x6E90;</span>
gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
<span class="hljs-comment"># &#x5217;&#x51FA;&#x5DF2;&#x6709;&#x6E90;</span>
gem sources <span class="hljs-_">-l</span>
<span class="hljs-comment"># &#x5E94;&#x8BE5;&#x53EA;&#x6709; TUNA &#x4E00;&#x4E2A;</span>
</code></pre>
<p>&#x6216;&#x8005;&#xFF0C;&#x7F16;&#x8F91; <code>~/.gemrc</code>&#xFF0C;&#x5C06; <code>https://mirrors.tuna.tsinghua.edu.cn/rubygems/</code> &#x52A0;&#x5230; <code>sources</code> &#x5B57;&#x6BB5;</p>
<h2 id="bundler"><a name="bundler" class="plugin-anchor" href="#bundler"><i class="fa fa-link" aria-hidden="true"></i></a>bundler</h2>
<p>&#x4F7F;&#x7528;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;&#x66FF;&#x6362; bundler &#x9ED8;&#x8BA4;&#x6E90; </p>
<pre><code class="lang-bash">bash bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems
</code></pre>
<h2 id="&#x4E8C;&#x3001;vpn-&#x4EE3;&#x7406;--&#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x5DE5;&#x5177;"><a name="&#x4E8C;&#x3001;vpn-&#x4EE3;&#x7406;--&#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x5DE5;&#x5177;" class="plugin-anchor" href="#&#x4E8C;&#x3001;vpn-&#x4EE3;&#x7406;--&#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x5DE5;&#x5177;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4E8C;&#x3001;VPN &#x4EE3;&#x7406; + &#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x5DE5;&#x5177;</h2>
<blockquote>
<p>&#x6298;&#x817E;&#x7EC8;&#x7AEF;&#x5F00;&#x542F;&#x4EE3;&#x7406;&#x5B9E;&#x5728;&#x662F;&#x4E00;&#x6CE2;&#x4E09;&#x6298;&#xFF0C;&#x53CD;&#x53CD;&#x590D;&#x590D;&#x5C1D;&#x8BD5;&#x4E86;&#x6570;&#x6B21;&#xFF0C;&#x4E4B;&#x524D;&#x6CA1;&#x4E00;&#x6B21;&#x6210;&#x529F;&#xFF0C;&#x4F46;&#x6BCF;&#x6B21;&#x9047;&#x5230;&#x9700;&#x8981;&#x5B89;&#x88C5;&#x56FD;&#x5916;&#x6E90;&#x7684;&#x8F6F;&#x4EF6;&#x65F6;&#x5C31;&#x75DB;&#x4E0D;&#x6B32;&#x751F;&#xFF01;&#x8DE8;&#x5EA6;&#x4E00;&#x4E24;&#x5E74;&#x7684;&#x4E00;&#x4E2A;&#x95EE;&#x9898;&#x7EC8;&#x4E8E;&#x89E3;&#x51B3;&#x4E86;&#xFF0C;&#x8BB0;&#x5F55;&#x4E00;&#x4E0B;</p>
</blockquote>
<ul>
<li>&#x7EC8;&#x7AEF;&#x4EE3;&#x7406;&#x7A76;&#x5176;&#x539F;&#x7406;&#x548C; chrome &#x6269;&#x5C55; Proxy SwitchyOmega &#x662F;&#x4E00;&#x6837;&#x7684;&#xFF0C;&#x90FD;&#x662F;&#x4E3A;&#x4E86;&#x5C06; socks &#x534F;&#x8BAE;&#x7684;&#x6570;&#x636E;&#x8F6C;&#x6362;&#x6210; http &#x534F;&#x8BAE;, &#x56E0;&#x4E3A;&#x7EC8;&#x7AEF;&#x5F88;&#x591A;&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;&#x547D;&#x4EE4; - wget&#x3001;curl&#x3001;git&#x3001;brew &#x7B49;&#x7B49;&#x90FD;&#x662F;&#x4F7F;&#x7528;&#x7684; http &#x534F;&#x8BAE;</li>
<li>VPN &#x4EE3;&#x7406;&#x4E00;&#x822C;&#x6709; <code>shadowsocks</code> &#x548C; <code>v2ray</code> </li>
<li>&#x6D41;&#x91CF;&#x8F6C;&#x53D1;&#x5DE5;&#x5177;&#xFF0C;&#x4E3B;&#x8981;&#x662F;&#x4E3A;&#x4E86;&#x5B9E;&#x73B0; socks5 &#x548C; http &#x52A0;&#x5BC6;&#x6570;&#x636E;&#x95F4;&#x7684;&#x8F6C;&#x6362;&#xFF0C;&#x5E38;&#x7528;&#x7684;&#x6709; <code>polipo</code> &#x548C; <code>privoxy</code> </li>
</ul>
<h3 id="v2ray--polipo--httpproxy--curl-ipgs"><a name="v2ray--polipo--httpproxy--curl-ipgs" class="plugin-anchor" href="#v2ray--polipo--httpproxy--curl-ipgs"><i class="fa fa-link" aria-hidden="true"></i></a><strong><code>v2ray</code></strong> + <strong><code>polipo</code></strong> + <strong><code>http_proxy</code></strong> + <strong><code>curl ip.gs</code></strong></h3>
<p>1&#x3001;v2ray &#x5BA2;&#x6237;&#x7AEF;&#x548C;&#x670D;&#x52A1;&#x7AEF;&#x5B89;&#x88C5;&#x914D;&#x7F6E;&#x5F88;&#x7B80;&#x5355; - <a href="https://www.v2ray.com/chapter_00/install.html" target="_blank">v2ray &#x5B98;&#x65B9;&#x5B89;&#x88C5;&#x6559;&#x7A0B;</a></p>
<ul>
<li>v2ray &#x5BA2;&#x6237;&#x7AEF;&#x548C;&#x670D;&#x52A1;&#x7AEF;&#x4E00;&#x5B9A;&#x8981;&#x5728; <code>/etc/v2ray/config.json</code> &#x6587;&#x4EF6;&#x6DFB;&#x52A0;&#x65E5;&#x5FD7;&#x8DEF;&#x5F84;&#xFF01;&#xFF01;&#xFF01;</li>
</ul>
<pre><code class="lang-shell">&quot;log&quot;: {
    &quot;loglevel&quot;: &quot;warning&quot;,
    &quot;access&quot;: &quot;/var/log/v2ray/access.log&quot;,
    &quot;error&quot;: &quot;/var/log/v2ray/error.log&quot;
  }
</code></pre>
<p>2&#x3001;&#x5B89;&#x88C5; polipo</p>
<pre><code class="lang-shell">## Ubuntu &#x4E0B;&#x7684;&#x5B89;&#x88C5;
sudo apt-get install polipo

## CentOS &#x4E0B;&#x7684;&#x5B89;&#x88C5;
sudo yum install polipo

## &#x7F16;&#x8F91;&#x914D;&#x7F6E;&#x6587;&#x4EF6; /etc/polipo/config
vim /etc/polipo/config
# This file only needs to list configuration variables that deviate
# from the default values.  See /usr/share/doc/polipo/examples/config.sample
# and &quot;polipo -v&quot; for variables you can tweak and further information.

logSyslog = true
logFile = /var/log/polipo/polipo.log

proxyAddress = &quot;0.0.0.0&quot;

socksParentProxy = &quot;127.0.0.1:1080&quot;
socksProxyType = socks5

chunkHighMark = 50331648
objectHighMark = 16384

serverMaxSlots = 64
serverSlots = 16
serverSlots1 = 32

# This file only needs to list configuration variables that deviate
# from the default values.  See /usr/share/doc/polipo/examples/config.sample
# and &quot;polipo -v&quot; for variables you can tweak and further information.

logSyslog = true
logFile = /var/log/polipo/polipo.log

# socks &#x4EE3;&#x7406;&#x5730;&#x5740;
socksParentProxy = &quot;127.0.0.1:1080&quot;
# &#x7C7B;&#x578B;
socksProxyType = socks5
# &#x8F6C;&#x6362;&#x4E3A; HTTP &#x4E4B;&#x540E;&#x7684;&#x7AEF;&#x53E3;
proxyPort = 8123
# &#x4E0B;&#x9762;&#x4E0D;&#x6E05;&#x695A;&#xFF0C;&#x4F46;&#x9700;&#x8981;
chunkHighMark = 50331648
objectHighMark = 16384
serverMaxSlots = 64
serverSlots = 16
serverSlots1 = 32
</code></pre>
<p>3&#x3001;&#x786E;&#x4FDD;&#x670D;&#x52A1;&#x5668; v2ray&#x3001;&#x5BA2;&#x6237;&#x7AEF; v2ray &#x548C; polipo &#x670D;&#x52A1;&#x90FD;&#x6B63;&#x5E38;&#x8FD0;&#x884C;&#xFF0C;&#x4E14;&#x67E5;&#x770B;&#x65E5;&#x5FD7;&#x6CA1;&#x6709;&#x62A5;&#x9519;&#xFF01;</p>
<p>4&#x3001;&#x5728;&#x5BA2;&#x6237;&#x7AEF;&#x672C;&#x5730; <code>~/.bashrc</code> &#x6587;&#x4EF6;&#x4E2D;&#x8BBE;&#x7F6E; <code>export http_proxy=http://127.0.0.1:8123
export https_proxy=http://127.0.0.1:8123</code> &#x522B;&#x540D;</p>
<pre><code class="lang-shell"># &#x6DFB;&#x52A0;&#x5982;&#x4E0B;
alias hp=&quot;export http_proxy=http://127.0.0.1:8123&quot;
alias hps=&quot;export https_proxy=http://127.0.0.1:8123&quot;
</code></pre>
<p>5&#x3001;&#x4F7F;&#x7528; <code>curl ip.gs</code> &#x67E5;&#x770B;&#x662F;&#x5426;&#x6210;&#x529F;&#x5B9E;&#x73B0;&#x4EE3;&#x7406;&#xFF0C;&#x82E5;&#x4E0D;&#x6210;&#x529F;&#xFF0C;&#x68C0;&#x67E5;&#x5982;&#x4E0B;</p>
<ul>
<li>&#x672C;&#x5730;&#x548C;&#x670D;&#x52A1;&#x5668;&#x9632;&#x706B;&#x5899;&#x662F;&#x5426;&#x5F00;&#x542F;&#xFF0C;&#x90FD;&#x6CA1;&#x5F00;&#x542F;&#x5219;&#x8DF3;&#x8FC7;&#x8FD9;&#x9879;&#xFF1B;&#x672C;&#x5730;&#x9632;&#x706B;&#x5899;&#x5F00;&#x542F;&#x7684;&#x8BDD;&#xFF0C;&#x68C0;&#x67E5; 8123 &#x548C; 1080 &#x7AEF;&#x53E3;&#x662F;&#x5426;&#x5F00;&#x542F; tcp&#xFF1B;&#x670D;&#x52A1;&#x5668;&#x9632;&#x706B;&#x5899;&#x5F00;&#x542F;&#x7684;&#x8BDD;&#xFF0C;&#x68C0;&#x67E5; v2ray &#x914D;&#x7F6E;&#x7684;&#x7AEF;&#x53E3;&#x662F;&#x5426;&#x5F00;&#x542F; tcp&#xFF0C;&#x4EE5;&#x4E0A;&#x7AEF;&#x53E3;&#x6CA1;&#x5F00;&#x542F;&#x7684;&#x8BDD;&#xFF0C;&#x90FD;&#x8981;&#x5F00;&#x542F;</li>
<li>&#x767B;&#x5F55; VPS &#x63A7;&#x5236;&#x53F0;&#xFF0C;&#x68C0;&#x67E5;&#x5B89;&#x5168;&#x7EC4;&#xFF08;&#x79F0;&#x547C;&#x4E0D;&#x4E00;&#xFF0C;&#x963F;&#x91CC;&#x4E91;&#x53EB;&#x9632;&#x706B;&#x5899;&#xFF09;&#x91CC;&#x7684; v2ray &#x7AEF;&#x53E3;&#x662F;&#x5426;&#x5F00;&#x542F; tcp</li>
<li>&#x53EF;&#x4EE5;&#x5728;&#x672C;&#x5730;&#x4F7F;&#x7528; <code>paping -p port hostip</code> &#x68C0;&#x67E5;&#x670D;&#x52A1;&#x5668;&#x548C;&#x672C;&#x5730;&#x7AEF;&#x53E3;&#x5F00;&#x542F;&#x60C5;&#x51B5;</li>
<li>&#x4E00;&#x822C;&#x4FEE;&#x6539;&#x5B89;&#x5168;&#x7EC4;&#xFF0C;&#x9700;&#x8981;&#x91CD;&#x542F;&#x670D;&#x52A1;&#x5668;&#x624D;&#x6709;&#x6548;</li>
<li>&#x8BBE;&#x7F6E;&#x4E86;&#x5B89;&#x5168;&#x7EC4;&#x5C31;&#x53EF;&#x4EE5;&#x4E0D;&#x8BBE;&#x7F6E;&#x4E91;&#x670D;&#x52A1;&#x5668;&#x9632;&#x706B;&#x5899;&#xFF0C;&#x56E0;&#x4E3A;&#x5B89;&#x5168;&#x7EC4;&#x89C4;&#x5219;&#x76F8;&#x5BF9;&#x4E8E;&#x4E91;&#x670D;&#x52A1;&#x5668;&#x9632;&#x706B;&#x5899;&#x662F;&#x5728;&#x66F4;&#x4E0A;&#x4E00;&#x5C42;&#x7684;&#x62E6;&#x622A;&#xFF01;&#x6BD4;&#x5982;&#xFF0C;&#x5B89;&#x5168;&#x7EC4;&#x5F00;&#x542F;&#x4E86; 10001 &#x7AEF;&#x53E3;&#x7684; tcp&#xFF0C;&#x5982;&#x679C;&#x5F00;&#x542F;&#x9632;&#x706B;&#x5899;&#x7684;&#x670D;&#x52A1;&#x5668;&#x6CA1;&#x6709;&#x5F00;&#x542F; 10001 &#x7AEF;&#x53E3;&#x7684; tcp &#xFF0C;&#x5916;&#x9762;&#x4E5F;&#x662F;&#x65E0;&#x6CD5;&#x8FDE;&#x63A5;&#x7684;&#x3002;</li>
</ul>
<p>6&#x3001;&#x91CD;&#x542F;&#x670D;&#x52A1;&#xFF0C;&#x518D;&#x6B21;&#x4F7F;&#x7528; <code>curl ip.gs</code> &#x68C0;&#x67E5;&#x662F;&#x5426;&#x4EE3;&#x7406;&#x6210;&#x529F;&#xFF0C;&#x4E0D;&#x6210;&#x529F;&#xFF0C;&#x5C31; Google&#xFF01;</p>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> <a href="https://github.com/Xiechengqi" target="_blank">Xiechengqi</a> </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> <strong>&#x6700;&#x65B0;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;</strong> 2020-01-04 15:54:38 </span> </footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="Linux性能相关常用命令.html" class="navigation navigation-prev " aria-label="Previous page: Linux性能相关常用命令">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="APT-剖析详解.html" class="navigation navigation-next " aria-label="Next page: APT 原理剖析、详解">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Linux各种安装下载慢解决方法","level":"1.4.4","depth":2,"next":{"title":"APT 原理剖析、详解","level":"1.4.5","depth":2,"path":"Linux/APT-剖析详解.md","ref":"Linux/APT-剖析详解.md","articles":[]},"previous":{"title":"Linux性能相关常用命令","level":"1.4.3","depth":2,"path":"Linux/Linux性能相关常用命令.md","ref":"Linux/Linux性能相关常用命令.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","-livereload","-sharing","expandable-chapters","popup","pageview-count","code","back-to-top-button","hide-element","github-buttons","github","splitter","search-pro","anchors","page-footer-ex","advanced-emoji","sharing-plus"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/Xiechengqi/LearningNotes"},"page-footer-ex":{"copyright":"[Xiechengqi](https://github.com/Xiechengqi)","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"<strong>最新修订时间：</strong>"},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"pageview-count":{},"github-buttons":{"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]},"advanced-emoji":{"embedEmojis":false},"sharing":{"qq":false,"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"日常学习笔记","language":"zh-hans","gitbook":"*","description":"日常学习笔记"},"file":{"path":"Linux/Linux各种安装下载慢解决方法.md","mtime":"2020-01-04T07:54:38.924Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-28T02:57:41.582Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

